package com.example.sms.department.dao;

import com.example.sms.department.dao.po.Department;
import org.springframework.stereotype.Repository;

@Repository
public interface DepartmentDAO {

    int deleteByPrimaryKey(Long id);

    int insert(Department record);

    int insertSelective(Department record);

    Department selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Department record);

    int updateByPrimaryKey(Department record);
}